﻿@using TomNet.IMSC.Model.DbModels.Finance
@using TomNet.IMSC.Web.Areas.Finance.Controllers;
@using TomNet.IMSC.Web.Areas.Finance.Models;
@{
    var loan = ViewData["attEntity"] as FinanceTransferRunnings;
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>EditTransfer</title>


    <link href="~/Content/Css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="~/Content/Css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="~/Content/Css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="~/Content/Css/animate.css" rel="stylesheet">
    <link href="~/Content/Css/style.css?v=4.1.0" rel="stylesheet">
    <link href="~/Content/Css/plugins/steps/jquery.steps.css" rel="stylesheet" />
    <link href="~/Content/common.css" rel="stylesheet">

    <script src="~/Scripts/plugins/pace/pace.min.js"></script>

    <style>
        .form-group {
            margin-bottom: 0px;
            height: 39px;
            min-height: 39px;
        }
        /*.wizard > .content {
            background: #eee;
            display: block;
            margin: 5px 5px 10px 5px;
            min-height: 200px;
            width: auto;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            border-radius: 5px;
        }*/
    </style>
</head>
<body>
    <div>
        <div class="col-xs-12" style="background-color:#EEEEEE;">


            @if (ViewBag.OptionType == 2)
            {
                <div class="col-xs-10 col-xs-offset-1 m-t">

                    <div class="col-xs-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">办件人员：</label>
                            <div class="col-sm-9">
                                <select class="form-control" id="TransactStaffID" name="TransactStaffID" style="width:280px;"></select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">办件时间：</label>
                            <div class="col-sm-9">
                                <input type="text" class="form-control layer-date" id="DoTime" name="DoTime" style="cursor:pointer;">
                                <label class="laydate-icon inline demoicon" onclick="laydate({ elem: '#DoTime', format: 'YYYY-MM-DD' });"></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">办件区域：</label>
                            <div class="col-sm-9">
                                <input type="text" name="DoArea" class="form-control" placeholder="请输入文本" style="width:280px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-xs-6">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">报税说明：</label>
                            <div class="col-sm-9">
                                <textarea type="text" id="TaxRemark" name="TaxRemark" class="form-control" style="width:300px;" rows="3" placeholder="请输入备注信息">@loan.QueryArchivesRemark</textarea>
                            </div>
                        </div>
                    </div>

                    @if (loan.QueryArchivesState == 1)
                    {
                        <button id="submit" class="btn btn-primary pull-right" type="button" onclick="clickReq(2, this)">
                            <i class="fa fa-check"></i>&nbsp;提&nbsp;交
                        </button>
                    }

                </div>
            }
            else if (ViewBag.OptionType == 3)
            {
                <div class="col-xs-6 col-xs-offset-1">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">办理时间：</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control layer-date" id="ContractTime" name="ContractTime" value="" style="cursor:pointer;">
                            <label class="laydate-icon inline demoicon" onclick="laydate({ elem: '#ProvideTime', format: 'YYYY-MM-DD' });"></label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">查档说明：</label>
                        <div class="col-sm-9">
                            <textarea type="text" id="ContractRemark" name="ContractRemark" class="form-control" style="width:280px;" rows="3" placeholder="请输入备注信息">@loan</textarea>
                        </div>
                    </div>
                </div>

                <div class="col-md-6">
                    @if (loan.QueryArchivesState == 1)
                    {//&& entity.TransactStaffID != 0
                        <button id="submit" class="btn btn-primary pull-right" type="button" onclick="clickReq(3, this)">
                            <i class="fa fa-check"></i>&nbsp;提&nbsp;交
                        </button>
                    }

                </div>
            }
        </div>
    </div>




    <!-- 全局js -->
    <script type="text/javascript" src="~/Scripts/jquery.min.js?v=2.1.4"></script>
    <script type="text/javascript" src="~/Scripts/bootstrap.min.js?v=3.3.6"></script>

    <!-- jQuery Validation plugin javascript-->
    <script type="text/javascript" src="~/Scripts/plugins/validate/jquery.validate.min.js"></script>
    <script type="text/javascript" src="~/Scripts/plugins/validate/messages_zh.min.js"></script>
    <script type="text/javascript" src="~/Scripts/Extensions/ExtValidator.js?a=@(DateTime.Now.Millisecond)"></script>

    <!-- layer javascript -->
    <script type="text/javascript" src="~/Scripts/plugins/layer/layer.min.js"></script>
    <script src="~/Scripts/plugins/layer/laydate/laydate.js"></script>

    <!-- Steps -->
    <script src="~/Scripts/plugins/staps/jquery.steps-1.1.0.js?a=@(DateTime.Now.Millisecond)"></script>
</body>
</html>
